<template>
  <div class="hello">
    <div id="line"></div>
    <div id="chinaMap"></div>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  props: {
    msg: String
  },
  //生命周期函数中
  mounted(){
    this.$charts.line("line")
    this.$charts.chinaMap("chinaMap")
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style >
#line{
  height: 300px;
  width: 300px;
}
#chinaMap{
  height: 500px;
  width: 500px;
}
</style>
